Contents | Index | < Browse | Browse >
LETTERtanhULETTER
Hyperbolic tangent function.
Overview
#include <math.h>
r = tanh(x);
double r;
double x;
Description
Returns the hyperbolic tangent of the double-precision floating-point number
"x".
Note
Of course all trigonometric functions require the angle be expressed in
radians. Pass the angle "w" expressed in degrees to
x = PI/180 * w
to receive its equivalent in radians in "x".
Returns
The hyperbolic tangent as a double-precision floating-point value.